package com.duang.framework.config;

import com.duang.framework.cache.ManagerConfiguration;

public interface ConfigurablePlugin {

	public enum DatabaseConnectionPoolType {
		C3P0,NULL
	}

	void useDatabaseConnectionPool(DatabaseConnectionPoolType type,
			String jdbcUrl, String username, String password, String driverClass);

	public enum CacheProviderType {
		EHCACHE, NULL
	}

	void useCacheProvider(CacheProviderType type,ManagerConfiguration configuration);

}
